<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>担保交友推荐 - 安全社交平台</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary-color: #2563eb;
            --secondary-color: #4f46e5;
            --success-color: #10b981;
            --light-bg: #f8fafc;
            --dark-text: #1e293b;
            --light-text: #64748b;
        }
        
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: var(--light-bg);
            color: var(--dark-text);
        }
        
        .navbar {
            background-color: var(--primary-color);
        }
        
        .badge-secured {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
            border: 1px solid var(--success-color);
        }
        
        .card {
            transition: all 0.3s ease;
            border: none;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.875rem;
            color: var(--light-text);
        }
        
        .stat-item i {
            font-size: 0.9rem;
        }
        
        .author-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .no-image-placeholder {
            background-color: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--light-text);
        }
        
        .image-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 4px;
            height: 100%;
        }
        
        .image-grid img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .image-grid.two-images {
            grid-template-columns: 1fr 1fr;
        }
        
        .image-grid.three-images {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .image-grid.three-images img:first-child {
            grid-column: span 2;
            grid-row: span 1;
        }
        
        .overlay-text {
            position: absolute;
            bottom: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 2px 8px;
            font-size: 0.75rem;
            border-radius: 4px 0 0 0;
        }
        
        .featured-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 1;
        }
        
        .action-btn {
            transition: all 0.2s ease;
        }
        
        .action-btn:hover {
            transform: translateY(-2px);
        }
        
        .like-btn.active {
            color: #ef4444;
        }
        
        .save-btn.active {
            color: var(--primary-color);
        }
        
        .section-title {
            position: relative;
            display: inline-block;
            margin-bottom: 1.5rem;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 50px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .view-all-link {
            color: var(--primary-color);
            font-weight: 500;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .view-all-link:hover {
            color: var(--secondary-color);
        }
        
        .profile-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: var(--success-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-dark">
        <div class="container">
            <a class="navbar-brand d-flex align-items-center gap-2" href="#">
                <i class="fas fa-shield-alt"></i>
                <span>安全社交</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">担保交友</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">兴趣群组</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">活动推荐</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">安全指南</a>
                    </li>
                </ul>
                <div class="d-flex align-items-center gap-3">
                    <div class="position-relative">
                        <button class="btn btn-outline-light">
                            <i class="fas fa-bell"></i>
                        </button>
                        <span class="position-absolute top-0 right-0 translate-middle badge rounded-circle bg-danger">3</span>
                    </div>
                    <div class="dropdown">
                        <button class="btn btn-secondary dropdown-toggle rounded-circle" type="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/id/64/40/40" alt="用户头像" width="36" height="36" class="rounded-circle">
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#">个人中心</a></li>
                            <li><a class="dropdown-item" href="#">我的好友</a></li>
                            <li><a class="dropdown-item" href="#">我的发布</a></li>
                            <li><hr class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="#">退出登录</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- 筛选栏 -->
    <div class="bg-white border-bottom py-3">
        <div class="container">
            <div class="d-flex flex-wrap gap-3 align-items-center justify-content-between">
                <div class="d-flex flex-wrap gap-2">
                    <button class="btn btn-primary">全部</button>
                    <button class="btn btn-outline-primary">同城</button>
                    <button class="btn btn-outline-primary">兴趣相近</button>
                    <button class="btn btn-outline-primary">新加入</button>
                    <button class="btn btn-outline-primary">已认证</button>
                </div>
                <div class="d-flex gap-2">
                    <div class="input-group input-group-sm">
                        <input type="text" class="form-control" placeholder="搜索交友推荐...">
                        <button class="btn btn-outline-primary" type="button">
                            <i class="fas fa-search"></i>
                        </button>
                    </div>
                    <select class="form-select form-select-sm">
                        <option>推荐排序</option>
                        <option>最新发布</option>
                        <option>最多浏览</option>
                        <option>距离最近</option>
                    </select>
                </div>
            </div>
        </div>
    </div>

    <!-- 主要内容 -->
    <div class="container py-6">
        <!-- 特色担保交友推荐 -->
        <div class="mb-10">
            <div class="d-flex justify-content-between align-items-center mb-4">
                <h2 class="section-title">特色担保交友</h2>
                <a href="#" class="view-all-link">查看全部 <i class="fas fa-arrow-right ms-1"></i></a>
            </div>
            
            <!-- 大型特色卡片布局 -->
            <div class="card rounded-2xl overflow-hidden mb-6">
                <div class="row g-0">
                    <div class="col-md-6 position-relative">
                        <img src="https://picsum.photos/id/1027/800/600" alt="户外爱好者交友活动" class="w-100 h-100 object-cover">
                        <span class="badge bg-primary featured-tag">官方推荐</span>
                    </div>
                    <div class="col-md-6 p-6">
                        <div class="d-flex justify-content-between items-start mb-3">
                            <div>
                                <h3 class="mb-2">户外爱好者线下交流（官方担保）</h3>
                                <span class="badge badge-secured mb-3"><i class="fas fa-check-circle me-1"></i> 已通过身份认证</span>
                            </div>
                            <div class="d-flex gap-2">
                                <button class="btn btn-outline-secondary rounded-circle action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                </button>
                                <button class="btn btn-outline-secondary rounded-circle action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                        
                        <p class="text-muted mb-4">
                            喜欢户外的朋友集合啦！本周末将组织一次小型徒步活动，全程安全有保障。欢迎新老朋友参加，认识志同道合的朋友，一起探索自然美景。
                        </p>
                        
                        <div class="mb-4">
                            <div class="d-flex flex-wrap gap-2 mb-3">
                                <span class="badge bg-light text-dark">户外活动</span>
                                <span class="badge bg-light text-dark">徒步</span>
                                <span class="badge bg-light text-dark">周末</span>
                                <span class="badge bg-light text-dark">上海</span>
                            </div>
                        </div>
                        
                        <div class="d-flex justify-content-between align-items-center">
                            <div class="author-info">
                                <img src="https://picsum.photos/id/1012/40/40" alt="组织者头像" class="author-avatar">
                                <span class="font-medium">李明 <span class="text-muted text-sm">(活动组织者)</span></span>
                            </div>
                            
                            <div class="d-flex gap-4">
                                <div class="stat-item">
                                    <i class="fas fa-eye"></i>
                                    <span>2.4k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="fas fa-comment"></i>
                                    <span>128</span>
                                </div>
                                <div class="stat-item">
                                    <i class="fas fa-users"></i>
                                    <span>36人参加</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 网格布局推荐 -->
        <div class="mb-10">
            <div class="d-flex justify-content-between align-items-center mb-4">
                <h2 class="section-title">热门担保交友</h2>
                <a href="#" class="view-all-link">查看全部 <i class="fas fa-arrow-right ms-1"></i></a>
            </div>
            
            <!-- 网格布局 - 有图和无图混合 -->
            <div class="row g-4">
                <!-- 有单张图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="card h-100 rounded-xl overflow-hidden">
                        <div class="position-relative" style="height: 180px;">
                            <img src="https://picsum.photos/id/26/600/400" alt="读书分享会" class="w-100 h-100 object-cover">
                            <span class="badge badge-secured position-absolute top-3 left-3">
                                <i class="fas fa-check-circle me-1"></i> 已担保
                            </span>
                        </div>
                        <div class="p-4">
                            <h5 class="mb-2 line-clamp-2">周末读书分享会，寻找爱读书的你</h5>
                            <p class="text-muted text-sm mb-3 line-clamp-2">
                                每月一次的读书分享，交流阅读心得，认识同样喜欢文学的朋友。
                            </p>
                            <div class="d-flex flex-wrap gap-1 mb-3">
                                <span class="badge bg-light text-dark text-xs">读书</span>
                                <span class="badge bg-light text-dark text-xs">文学</span>
                                <span class="badge bg-light text-dark text-xs">广州</span>
                            </div>
                            <div class="d-flex justify-content-between align-items-center">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1025/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">王文静</span>
                                </div>
                                <div class="d-flex gap-3">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>856</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>42</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 有多张图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="card h-100 rounded-xl overflow-hidden">
                        <div class="position-relative" style="height: 180px;">
                            <div class="image-grid three-images">
                                <img src="https://picsum.photos/id/96/300/300" alt="摄影作品1">
                                <img src="https://picsum.photos/id/91/300/300" alt="摄影作品2">
                                <img src="https://picsum.photos/id/90/300/300" alt="摄影作品3">
                            </div>
                            <span class="overlay-text">+5 张图片</span>
                            <span class="badge badge-secured position-absolute top-3 left-3">
                                <i class="fas fa-check-circle me-1"></i> 已担保
                            </span>
                        </div>
                        <div class="p-4">
                            <h5 class="mb-2 line-clamp-2">摄影爱好者交流群，定期组织外拍</h5>
                            <p class="text-muted text-sm mb-3 line-clamp-2">
                                无论你是专业摄影师还是摄影爱好者，都欢迎加入我们，一起交流技巧。
                            </p>
                            <div class="d-flex flex-wrap gap-1 mb-3">
                                <span class="badge bg-light text-dark text-xs">摄影</span>
                                <span class="badge bg-light text-dark text-xs">艺术</span>
                                <span class="badge bg-light text-dark text-xs">全国</span>
                            </div>
                            <div class="d-flex justify-content-between align-items-center">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1074/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">张艺</span>
                                </div>
                                <div class="d-flex gap-3">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>1.2k</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>78</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 无图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="card h-100 rounded-xl overflow-hidden">
                        <div class="position-relative" style="height: 180px;">
                            <div class="no-image-placeholder w-100 h-100">
                                <i class="fas fa-music fa-3x"></i>
                            </div>
                            <span class="badge badge-secured position-absolute top-3 left-3">
                                <i class="fas fa-check-circle me-1"></i> 已担保
                            </span>
                        </div>
                        <div class="p-4">
                            <h5 class="mb-2 line-clamp-2">古典音乐爱好者线上交流会</h5>
                            <p class="text-muted text-sm mb-3 line-clamp-2">
                                喜欢古典音乐的朋友集合！每周线上分享，一起聆听经典，交流感受。
                            </p>
                            <div class="d-flex flex-wrap gap-1 mb-3">
                                <span class="badge bg-light text-dark text-xs">音乐</span>
                                <span class="badge bg-light text-dark text-xs">古典</span>
                                <span class="badge bg-light text-dark text-xs">线上</span>
                            </div>
                            <div class="d-flex justify-content-between align-items-center">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1062/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">刘音乐</span>
                                </div>
                                <div class="d-flex gap-3">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>642</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>31</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 有两张图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="card h-100 rounded-xl overflow-hidden">
                        <div class="position-relative" style="height: 180px;">
                            <div class="image-grid two-images">
                                <img src="https://picsum.photos/id/431/300/300" alt="美食图片1">
                                <img src="https://picsum.photos/id/292/300/300" alt="美食图片2">
                            </div>
                            <span class="badge badge-secured position-absolute top-3 left-3">
                                <i class="fas fa-check-circle me-1"></i> 已担保
                            </span>
                        </div>
                        <div class="p-4">
                            <h5 class="mb-2 line-clamp-2">美食探店小组，寻找城市隐藏美味</h5>
                            <p class="text-muted text-sm mb-3 line-clamp-2">
                                喜欢美食的朋友一起组队探店，分享美食体验，认识同样爱吃的伙伴。
                            </p>
                            <div class="d-flex flex-wrap gap-1 mb-3">
                                <span class="badge bg-light text-dark text-xs">美食</span>
                                <span class="badge bg-light text-dark text-xs">探店</span>
                                <span class="badge bg-light text-dark text-xs">成都</span>
                            </div>
                            <div class="d-flex justify-content-between align-items-center">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1083/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">赵美食</span>
                                </div>
                                <div class="d-flex gap-3">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>1.5k</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>93</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 无图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="card h-100 rounded-xl overflow-hidden">
                        <div class="position-relative" style="height: 180px;">
                            <div class="no-image-placeholder w-100 h-100">
                                <i class="fas fa-gamepad fa-3x"></i>
                            </div>
                            <span class="badge badge-secured position-absolute top-3 left-3">
                                <i class="fas fa-check-circle me-1"></i> 已担保
                            </span>
                        </div>
                        <div class="p-4">
                            <h5 class="mb-2 line-clamp-2">桌游爱好者周末聚会</h5>
                            <p class="text-muted text-sm mb-3 line-clamp-2">
                                各种桌游应有尽有，每周六下午固定活动，欢迎新手老手加入。
                            </p>
                            <div class="d-flex flex-wrap gap-1 mb-3">
                                <span class="badge bg-light text-dark text-xs">桌游</span>
                                <span class="badge bg-light text-dark text-xs">游戏</span>
                                <span class="badge bg-light text-dark text-xs">北京</span>
                            </div>
                            <div class="d-flex justify-content-between align-items-center">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1066/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">陈桌游</span>
                                </div>
                                <div class="d-flex gap-3">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>785</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>56</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 有单张图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="card h-100 rounded-xl overflow-hidden">
                        <div class="position-relative" style="height: 180px;">
                            <img src="https://picsum.photos/id/1058/600/400" alt="语言交换" class="w-100 h-100 object-cover">
                            <span class="badge badge-secured position-absolute top-3 left-3">
                                <i class="fas fa-check-circle me-1"></i> 已担保
                            </span>
                        </div>
                        <div class="p-4">
                            <h5 class="mb-2 line-clamp-2">语言交换小组，互相学习共同进步</h5>
                            <p class="text-muted text-sm mb-3 line-clamp-2">
                                英语、日语、韩语等多语言交换，寻找语伴，一起练习口语。
                            </p>
                            <div class="d-flex flex-wrap gap-1 mb-3">
                                <span class="badge bg-light text-dark text-xs">语言</span>
                                <span class="badge bg-light text-dark text-xs">学习</span>
                                <span class="badge bg-light text-dark text-xs">线上线下</span>
                            </div>
                            <div class="d-flex justify-content-between align-items-center">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1076/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">林语言</span>
                                </div>
                                <div class="d-flex gap-3">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>1.1k</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>67</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 列表布局推荐 -->
        <div class="mb-10">
            <div class="d-flex justify-content-between align-items-center mb-4">
                <h2 class="section-title">最新担保交友</h2>
                <a href="#" class="view-all-link">查看全部 <i class="fas fa-arrow-right ms-1"></i></a>
            </div>
            
            <!-- 列表布局 -->
            <div class="d-flex flex-column gap-4">
                <!-- 列表项1 - 有图片 -->
                <div class="card rounded-xl overflow-hidden">
                    <div class="row g-0">
                        <div class="col-md-3 col-lg-2">
                            <img src="https://picsum.photos/id/1060/300/300" alt="瑜伽爱好者" class="w-100 h-100 object-cover">
                        </div>
                        <div class="col-md-9 col-lg-10 p-4">
                            <div class="d-flex flex-wrap justify-content-between align-start gap-3">
                                <div>
                                    <h5 class="mb-1">瑜伽爱好者晨间练习小组</h5>
                                    <span class="badge badge-secured mb-2"><i class="fas fa-check-circle me-1"></i> 已通过身份认证</span>
                                    <p class="text-muted text-sm mb-2">
                                        每天早晨7点线上瑜伽练习，适合初学者，互相监督，共同进步。
                                    </p>
                                    <div class="d-flex flex-wrap gap-1 mb-2">
                                        <span class="badge bg-light text-dark text-xs">瑜伽</span>
                                        <span class="badge bg-light text-dark text-xs">健身</span>
                                        <span class="badge bg-light text-dark text-xs">线上</span>
                                    </div>
                                </div>
                                <div class="d-flex gap-2">
                                    <button class="btn btn-outline-secondary rounded-circle action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="btn btn-outline-secondary rounded-circle action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="d-flex flex-wrap justify-content-between align-items-center gap-3">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1084/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">孙瑜伽</span>
                                </div>
                                <div class="d-flex gap-4">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>432</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>28</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>156</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-bookmark"></i>
                                        <span>89</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 列表项2 - 多张图片 -->
                <div class="card rounded-xl overflow-hidden">
                    <div class="row g-0">
                        <div class="col-md-3 col-lg-2">
                            <div class="position-relative h-100">
                                <div class="image-grid h-100">
                                    <img src="https://picsum.photos/id/175/300/300" alt="手工制作1">
                                    <img src="https://picsum.photos/id/118/300/300" alt="手工制作2">
                                </div>
                                <span class="overlay-text">+3</span>
                            </div>
                        </div>
                        <div class="col-md-9 col-lg-10 p-4">
                            <div class="d-flex flex-wrap justify-content-between align-start gap-3">
                                <div>
                                    <h5 class="mb-1">手工爱好者交流会，一起做手工艺品</h5>
                                    <span class="badge badge-secured mb-2"><i class="fas fa-check-circle me-1"></i> 已通过身份认证</span>
                                    <p class="text-muted text-sm mb-2">
                                        喜欢手工制作的朋友集合，一起学习制作各种手工艺品，分享技巧和成品。
                                    </p>
                                    <div class="d-flex flex-wrap gap-1 mb-2">
                                        <span class="badge bg-light text-dark text-xs">手工</span>
                                        <span class="badge bg-light text-dark text-xs">DIY</span>
                                        <span class="badge bg-light text-dark text-xs">杭州</span>
                                    </div>
                                </div>
                                <div class="d-flex gap-2">
                                    <button class="btn btn-outline-secondary rounded-circle action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="btn btn-outline-secondary rounded-circle action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="d-flex flex-wrap justify-content-between align-items-center gap-3">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1067/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">周手工</span>
                                </div>
                                <div class="d-flex gap-4">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>378</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>21</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>124</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-bookmark"></i>
                                        <span>76</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 列表项3 - 无图片 -->
                <div class="card rounded-xl overflow-hidden">
                    <div class="row g-0">
                        <div class="col-md-3 col-lg-2">
                            <div class="no-image-placeholder w-100 h-100">
                                <i class="fas fa-paw fa-3x"></i>
                            </div>
                        </div>
                        <div class="col-md-9 col-lg-10 p-4">
                            <div class="d-flex flex-wrap justify-content-between align-start gap-3">
                                <div>
                                    <h5 class="mb-1">宠物爱好者交流群，分享养宠经验</h5>
                                    <span class="badge badge-secured mb-2"><i class="fas fa-check-circle me-1"></i> 已通过身份认证</span>
                                    <p class="text-muted text-sm mb-2">
                                        所有宠物爱好者都可以加入，分享养宠经验，组织宠物聚会，一起爱护动物。
                                    </p>
                                    <div class="d-flex flex-wrap gap-1 mb-2">
                                        <span class="badge bg-light text-dark text-xs">宠物</span>
                                        <span class="badge bg-light text-dark text-xs">猫狗</span>
                                        <span class="badge bg-light text-dark text-xs">全国</span>
                                    </div>
                                </div>
                                <div class="d-flex gap-2">
                                    <button class="btn btn-outline-secondary rounded-circle action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="btn btn-outline-secondary rounded-circle action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="d-flex flex-wrap justify-content-between align-items-center gap-3">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1072/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">吴宠物</span>
                                </div>
                                <div class="d-flex gap-4">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>965</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>87</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>321</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-bookmark"></i>
                                        <span>156</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 混合布局推荐 -->
        <div>
            <div class="d-flex justify-content-between align-items-center mb-4">
                <h2 class="section-title">根据你的兴趣推荐</h2>
                <a href="#" class="view-all-link">查看全部 <i class="fas fa-arrow-right ms-1"></i></a>
            </div>
            
            <!-- 混合布局 -->
            <div class="row g-4">
                <!-- 左侧大型卡片 -->
                <div class="col-lg-7">
                    <div class="card h-100 rounded-xl overflow-hidden">
                        <div class="position-relative">
                            <img src="https://picsum.photos/id/325/1000/500" alt="电影爱好者聚会" class="w-100" style="height: 250px; object-fit: cover;">
                            <span class="badge bg-primary position-absolute top-3 left-3">为你推荐</span>
                            <span class="badge badge-secured position-absolute top-3 left-24">
                                <i class="fas fa-check-circle me-1"></i> 已担保
                            </span>
                        </div>
                        <div class="p-5">
                            <h4 class="mb-3">电影爱好者线下观影会，看完一起讨论</h4>
                            <p class="text-muted mb-4">
                                每月组织一次线下观影活动，选择经典或热门电影，观影后有专业人士引导讨论，认识同样热爱电影的朋友。
                            </p>
                            <div class="d-flex flex-wrap gap-2 mb-4">
                                <span class="badge bg-light text-dark">电影</span>
                                <span class="badge bg-light text-dark">文艺</span>
                                <span class="badge bg-light text-dark">讨论</span>
                                <span class="badge bg-light text-dark">上海</span>
                            </div>
                            <div class="d-flex flex-wrap justify-content-between align-items-center gap-3">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1080/40/40" alt="作者头像" class="author-avatar">
                                    <span class="font-medium">郑电影 <span class="text-muted text-sm">(电影评论家)</span></span>
                                </div>
                                <div class="d-flex gap-4">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>2.1k</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>156</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>487</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-users"></i>
                                        <span>89人参加</span>
                                    </div>
                                </div>
                                <div class="d-flex gap-2">
                                    <button class="btn btn-outline-primary action-btn">
                                        <i class="fas fa-user-plus me-1"></i> 加入
                                    </button>
                                    <button class="btn btn-outline-secondary rounded-circle action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 右侧垂直列表 -->
                <div class="col-lg-5 d-flex flex-column gap-4">
                    <!-- 小卡片1 -->
                    <div class="card rounded-xl overflow-hidden">
                        <div class="p-4">
                            <div class="d-flex justify-content-between align-start mb-2">
                                <h5 class="mb-0">编程学习小组，互相辅导共同进步</h5>
                                <button class="btn btn-outline-secondary rounded-circle action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                            <span class="badge badge-secured mb-3"><i class="fas fa-check-circle me-1"></i> 已担保</span>
                            <p class="text-muted text-sm mb-3">
                                无论你是编程新手还是有经验的开发者，都可以加入我们，互相学习。
                            </p>
                            <div class="d-flex flex-wrap gap-1 mb-3">
                                <span class="badge bg-light text-dark text-xs">编程</span>
                                <span class="badge bg-light text-dark text-xs">学习</span>
                                <span class="badge bg-light text-dark text-xs">线上</span>
                            </div>
                            <div class="d-flex justify-content-between align-items-center">
                                <div class="author-info">
                                    <img src="https://picsum.photos/id/1047/30/30" alt="作者头像" class="author-avatar">
                                    <span class="text-sm">马程序</span>
                                </div>
                                <div class="d-flex gap-3">
                                    <div class="stat-item">
                                        <i class="fas fa-eye"></i>
                                        <span>753</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-comment"></i>
                                        <span>42</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 小卡片2 - 有图 -->
                    <div class="card rounded-xl overflow-hidden">
                        <div class="row g-0">
                            <div class="col-4">
                                <img src="https://picsum.photos/id/493/300/300" alt="咖啡爱好者" class="w-100 h-100 object-cover">
                            </div>
                            <div class="col-8 p-3">
                                <h5 class="mb-1 text-sm line-clamp-2">精品咖啡品鉴会，了解咖啡文化</h5>
                                <span class="badge badge-secured mb-2 d-inline-block"><i class="fas fa-check-circle me-1"></i> 已担保</span>
                                <div class="d-flex flex-wrap gap-1 mb-2">
                                    <span class="badge bg-light text-dark text-xs">咖啡</span>
                                    <span class="badge bg-light text-dark text-xs">品鉴</span>
                                </div>
                                <div class="d-flex justify-content-between align-items-center">
                                    <div class="author-info">
                                        <img src="https://picsum.photos/id/1068/30/30" alt="作者头像" class="author-avatar" style="width: 24px; height: 24px;">
                                        <span class="text-xs">杨咖啡</span>
                                    </div>
                                    <div class="stat-item text-xs">
                                        <i class="fas fa-eye"></i>
                                        <span>328</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 小卡片3 - 有图 -->
                    <div class="card rounded-xl overflow-hidden">
                        <div class="row g-0">
                            <div class="col-4">
                                <div class="image-grid h-100">
                                    <img src="https://picsum.photos/id/429/300/300" alt="旅行照片1">
                                    <img src="https://picsum.photos/id/430/300/300" alt="旅行照片2">
                                </div>
                            </div>
                            <div class="col-8 p-3">
                                <h5 class="mb-1 text-sm line-clamp-2">旅行者俱乐部，分享旅行故事</h5>
                                <span class="badge badge-secured mb-2 d-inline-block"><i class="fas fa-check-circle me-1"></i> 已担保</span>
                                <div class="d-flex flex-wrap gap-1 mb-2">
                                    <span class="badge bg-light text-dark text-xs">旅行</span>
                                    <span class="badge bg-light text-dark text-xs">分享</span>
                                </div>
                                <div class="d-flex justify-content-between align-items-center">
                                    <div class="author-info">
                                        <img src="https://picsum.photos/id/1059/30/30" alt="作者头像" class="author-avatar" style="width: 24px; height: 24px;">
                                        <span class="text-xs">朱旅行</span>
                                    </div>
                                    <div class="stat-item text-xs">
                                        <i class="fas fa-eye"></i>
                                        <span>654</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 小卡片4 - 无图 -->
                    <div class="card rounded-xl overflow-hidden">
                        <div class="row g-0">
                            <div class="col-4">
                                <div class="no-image-placeholder w-100 h-100">
                                    <i class="fas fa-pencil-alt fa-2x"></i>
                                </div>
                            </div>
                            <div class="col-8 p-3">
                                <h5 class="mb-1 text-sm line-clamp-2">写作爱好者交流，互相点评作品</h5>
                                <span class="badge badge-secured mb-2 d-inline-block"><i class="fas fa-check-circle me-1"></i> 已担保</span>
                                <div class="d-flex flex-wrap gap-1 mb-2">
                                    <span class="badge bg-light text-dark text-xs">写作</span>
                                    <span class="badge bg-light text-dark text-xs">文学</span>
                                </div>
                                <div class="d-flex justify-content-between align-items-center">
                                    <div class="author-info">
                                        <img src="https://picsum.photos/id/1077/30/30" alt="作者头像" class="author-avatar" style="width: 24px; height: 24px;">
                                        <span class="text-xs">赵作家</span>
                                    </div>
                                    <div class="stat-item text-xs">
                                        <i class="fas fa-eye"></i>
                                        <span>289</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-8 mt-12">
        <div class="container">
            <div class="row">
                <div class="col-md-4 mb-6">
                    <h5 class="mb-3">安全社交平台</h5>
                    <p class="text-muted">专注于提供安全、可靠的社交环境，所有交友推荐均经过身份认证</p>
                    <div class="d-flex gap-3 mt-4">
                        <a href="#" class="text-white"><i class="fab fa-weibo fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-wechat fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-instagram fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-twitter fa-lg"></i></a>
                    </div>
                </div>
                <div class="col-md-2 mb-6">
                    <h5 class="mb-3">快速链接</h5>
                    <ul class="list-unstyled">
                        <li><a href="#" class="text-muted">首页</a></li>
                        <li><a href="#" class="text-muted">担保交友</a></li>
                        <li><a href="#" class="text-muted">兴趣群组</a></li>
                        <li><a href="#" class="text-muted">活动推荐</a></li>
                    </ul>
                </div>
                <div class="col-md-2 mb-6">
                    <h5 class="mb-3">安全中心</h5>
                    <ul class="list-unstyled">
                        <li><a href="#" class="text-muted">身份认证</a></li>
                        <li><a href="#" class="text-muted">安全指南</a></li>
                        <li><a href="#" class="text-muted">举报中心</a></li>
                        <li><a href="#" class="text-muted">隐私政策</a></li>
                    </ul>
                </div>
                <div class="col-md-4">
                    <h5 class="mb-3">发布担保交友</h5>
                    <p class="text-muted mb-3">成为认证用户，发布你的交友活动，认识更多志同道合的朋友</p>
                    <button class="btn btn-primary w-100">
                        <i class="fas fa-plus me-1"></i> 发布活动
                    </button>
                </div>
            </div>
            <div class="border-top border-gray-700 mt-6 pt-6 text-center text-muted">
                <p>&copy; 2023 安全社交平台 版权所有 | 致力于提供安全的社交环境</p>
            </div>
        </div>
    </footer>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 点赞功能
        document.querySelectorAll('.like-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                this.classList.toggle('active');
                const icon = this.querySelector('i');
                if (this.classList.contains('active')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                }
            });
        });
        
        // 收藏功能
        document.querySelectorAll('.save-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                this.classList.toggle('active');
                const icon = this.querySelector('i');
                if (this.classList.contains('active')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                }
            });
        });
        
        // 图片懒加载
        document.addEventListener("DOMContentLoaded", function() {
            const lazyImages = document.querySelectorAll("img");
            
            if ("IntersectionObserver" in window) {
                const imageObserver = new IntersectionObserver((entries, observer) => {
                    entries.forEach(entry => {
                        if (entry.isIntersecting) {
                            const image = entry.target;
                            image.classList.add('opacity-100');
                            image.classList.remove('opacity-0');
                            imageObserver.unobserve(image);
                        }
                    });
                });
                
                lazyImages.forEach(image => {
                    imageObserver.observe(image);
                    image.classList.add('transition-opacity', 'duration-500', 'opacity-0');
                });
            }
        });
    </script>
</body>
</html>
    
